//
//  Header.h
//  Stop
//
//  Created by dllo on 16/3/5.
//  Copyright © 2016年 徐宏飞. All rights reserved.
//

#ifndef Header_h
#define Header_h


#define SysFont(A) [UIFont systemFontOfSize:A];
#define NavigationBar_Color [UIColor clearColor];

//屏幕尺寸
#define FULL_SCREEN [[UIScreen mainScreen] bounds]
#define CURRENTSCEEN [UIScreen mainScreen].bounds
//屏幕大小
#define FULL_SIZE [[UIScreen mainScreen] bounds].size
//屏幕宽
#define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width
//屏幕高
#define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
//坐标点
#define WID [[UIScreen mainScreen] bounds].size.width / 375
#define HEI [[UIScreen mainScreen] bounds].size.height / 667
//没有bar的高
#define HEIGHT_NOBAR [[UIScreen mainScreen] bounds].size.height-64


//沙盒路径
#define  DOCUMENT  [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject]


#define  LIBRARY [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) lastObject]

//打印
#if DEBUG

#define NSLog(FORMAT, ...) fprintf(stderr,"[%s:%d行] %s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);

#else

#define NSLog(FORMAT, ...) nil

#endif



#define WHITE [UIColor whiteColor]
#define BLACK [UIColor blackColor]
#define CLEAR [UIColor clearColor]






#endif /* Header_h */
